package com.aaa.common.entity.home;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 专区(TbZone)实体类
 *
 * @author makejava
 * @since 2022-12-07 00:38:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_zone")
public class TblZone implements Serializable {
    private static final long serialVersionUID = -96456138047236039L;
    /**
     * 主键
     */
    @TableId
    private String id;
    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;
    /**
     * 修改时间
     */
    private LocalDateTime gmtModified;
    /**
     * 状态(1:正常;0:禁用)
     */
    private String isDeleted;
    /**
     * 排序
     */
    private Integer isDisable;
    /**
     * 名称
     */
    private String zoneName;
    /**
     * 描述
     */
    private String zoneDesc;

    public TblZone(String id, Integer isDisable) {
        this.id = id;
        this.isDisable = isDisable;
    }

    public TblZone(LocalDateTime gmtCreate, LocalDateTime gmtModified, String isDeleted, Integer isDisable, String zoneName, String zoneDesc) {
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
        this.isDeleted = isDeleted;
        this.isDisable = isDisable;
        this.zoneName = zoneName;
        this.zoneDesc = zoneDesc;
    }
}

